package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@TableName("tl_take_delivery_info")
@NoArgsConstructor
@AllArgsConstructor
public class TakeDeliveryInfoDO extends BaseDelFlagDO {

    @ApiModelProperty("详情ID")
    @TableId(type = IdType.AUTO)
    private Long infoId;

    @ApiModelProperty("取货ID")
    private Long takeId;

    @ApiModelProperty("取货Code")
    private String takeCode;

    @ApiModelProperty("格子序号")
    private Integer ordinal;

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品SKU")
    private String productSku;

    @ApiModelProperty("商品图片")
    private String albumPics;

    @ApiModelProperty("原价")
    private BigDecimal price;

    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @ApiModelProperty("取货数量")
    private Integer takeNums;

}
